package com.hzf.material.dao.mapper;

import com.hzf.material.dao.model.MaterialGoodsTypeSmall;
import com.hzf.material.dao.model.MaterialGoodsTypeSmallExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MaterialGoodsTypeSmallMapper {
    long countByExample(MaterialGoodsTypeSmallExample example);

    int deleteByExample(MaterialGoodsTypeSmallExample example);

    int deleteByPrimaryKey(Integer smallId);

    int insert(MaterialGoodsTypeSmall record);

    int insertSelective(MaterialGoodsTypeSmall record);

    List<MaterialGoodsTypeSmall> selectByExample(MaterialGoodsTypeSmallExample example);

    MaterialGoodsTypeSmall selectByPrimaryKey(Integer smallId);

    int updateByExampleSelective(@Param("record") MaterialGoodsTypeSmall record, @Param("example") MaterialGoodsTypeSmallExample example);

    int updateByExample(@Param("record") MaterialGoodsTypeSmall record, @Param("example") MaterialGoodsTypeSmallExample example);

    int updateByPrimaryKeySelective(MaterialGoodsTypeSmall record);

    int updateByPrimaryKey(MaterialGoodsTypeSmall record);
}